Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / SortCommand Class / SortCommand Constructor / SortCommand Constructor(ISort,Int32[],SortOn[],Object[],SortOrder[],Boolean,Boolean,SortOrientation,Boolean)


In This Topic
    SortCommand Constructor(ISort,Int32[],SortOn[],Object[],SortOrder[],Boolean,Boolean,SortOrientation,Boolean)
    In This Topic
    Sort by multi-conditions
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal sort As ISort, _
       ByVal columnIndex() As Integer, _
       ByVal sortOn() As SortOn, _
       ByVal sortValue() As Object, _
       ByVal sortOrder() As SortOrder, _
       Optional ByVal replace As Boolean, _
       Optional ByVal matchCase As Boolean, _
       Optional ByVal sortOrientation As SortOrientation, _
       Optional ByVal hasHeader As Boolean _
    )
    'Usage
     
    
    Dim sort As ISort
    Dim columnIndex() As Integer
    Dim sortOn() As SortOn
    Dim sortValue() As Object
    Dim sortOrder() As SortOrder
    Dim replace As Boolean
    Dim matchCase As Boolean
    Dim sortOrientation As SortOrientation
    Dim hasHeader As Boolean
     
    Dim instance As New SortCommand(sort, columnIndex, sortOn, sortValue, sortOrder, replace, matchCase, sortOrientation, hasHeader)

    Parameters

    sort
    columnIndex
    sortOn
    sortValue
    sortOrder
    replace
    matchCase
    sortOrientation
    hasHeader
    See Also